package com.guofen.dao;

import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljEquipmentMaintenance;
import com.guofen.pojo.ShljEquipmentRunningtime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ShljEquipmentRunningtimeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljEquipmentRunningtime record);

    int insertSelective(ShljEquipmentRunningtime record);

    ShljEquipmentRunningtime selectByPrimaryKey(Integer id);

    ShljEquipmentRunningtime selectLast();

    int updateByPrimaryKeySelective(ShljEquipmentRunningtime record);

    int updateByPrimaryKey(ShljEquipmentRunningtime record);

    List<ShljEquipmentRunningtime> findLast();

    List<ShljEquipmentRunningtime> selectAll();

    List<ShljEquipmentRunningtime> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}